encoding/binary.bigEndian.PutUint16 (method, view implemented interface methods)
5 uses
encoding/binary (current package)
binary.go#L143: func (bigEndian) PutUint16(b []byte, v uint16) {
github.com/gotd/td/internal/mtproxy/faketls
client_hello.go#L48: binary.BigEndian.PutUint16(b.Buf[s:], uint16(length))
record.go#L65: binary.BigEndian.PutUint16(buf[:2], uint16(len(r.Data)))
nhooyr.io/websocket
close.go#L275: binary.BigEndian.PutUint16(buf, uint16(ce.Code))
frame.go#L158: binary.BigEndian.PutUint16(buf, uint16(h.payloadLength))
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |